composetable: Switch to using a hash table
authorMatthias Clasen <mclasen@redhat.com>
Wed, 7 Jul 2021 19:54:05 +0000 (15:54 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 14 Jul 2021 02:02:33 +0000 (22:02 -0400)
commit45d39c2802eb682e95cdf25ca0094a29ef150814
treeb2d02bed293a21ce7e67babfae88d7eac21aa1e4
parent3b4b1c68781aad61fc6b91c9dff75b5790b4d8e4
composetable: Switch to using a hash table

This lets us naturally replace matching sequences
while parsing. That means that the semantics are now
"last one wins" if the parser sees multiple entries
for the same sequence.

Add a testcase that checks the new replacement semantics.
gtk/gtkcomposetable.c
testsuite/gtk/compose/include
testsuite/gtk/compose/include.expected
testsuite/gtk/compose/included